home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / MacODBC / ODBC Tools / INCLUDE / ODBCCFM.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-28  |  903 b   |  28 lines  |  [TEXT/MPS ]

  1. #ifndef ODBCCFM_H
  2. #define ODBCCFM_H
  3.  
  4. #define kODBCLibTypeResType 'odbc'
  5. #define kODBCLibTypeResID 1
  6.  
  7. // note: these constants must be kept in sync w/ ODBCTypes.r
  8. #define kODBCDriverLibTypeID    "\pODBC Shared Library: Driver"
  9. #define kODBCSetupLibTypeID     "\pODBC Shared Library: Setup"
  10. #define kODBCTranslateLibTypeID "\pODBC Shared Library: Translate"
  11. #define kODBCSystemLibTypeID    "\pODBC Shared Library: System"
  12. #define kODBCNetLibTypeID       "\pODBC Shared Library: NetLib"
  13.     
  14. #define kConfigDSNId                "ConfigDSN"
  15. #define kConfigTranslatorId            "ConfigTranslator"
  16.  
  17. // An ODBCLibConnection object is initialized by the main entry point of an ODBC library
  18. //   to support access to the library's resources
  19. #include <CodeFragments.h>
  20.  
  21. struct ODBCLibConnection
  22. {
  23.     ConnectionID    connId;
  24.     FSSpec            spec;
  25. };
  26. typedef struct ODBCLibConnection ODBCLibConnection, **ODBCLibConnectionHandle;
  27.  
  28. #endif // ODBCCFM_H